package com.ourteam.system.dao;


import org.apache.commons.lang.enums.Enum;



import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

/**
*  SysRoleTypeEnum
*  GenDate Thu Sep 21 15:10:29 IRKT 2017  
*  @model
*  @author Auto Generate	
*/
public class SysRoleTypeEnum extends  Enum  {

        private String desc;

        
        protected SysRoleTypeEnum (String arg0,String aDesc) {
		super(arg0);
		desc = aDesc;
		enumValueMap.put(arg0,this);
	}
        
	public String getDesc() {
		return desc;
	}

         
          private static Map<String,SysRoleTypeEnum> enumValueMap = new HashMap<String,SysRoleTypeEnum>();
                 

        	
	public static SysRoleTypeEnum getEnum(String arg0){
		return (SysRoleTypeEnum)enumValueMap.get(arg0);
	}
        	
	public static Collection<SysRoleTypeEnum> getEnumList() {
		return enumValueMap.values();
	}

        	
	/**
	 * 角色
	 * @model name="ROLE"
	 */
         
         public static final SysRoleTypeEnum ROLE = new SysRoleTypeEnum ("ROLE","角色");
         
		
	/**
	 * 角色组
	 * @model name="ROLE_GROUP"
	 */
         
         public static final SysRoleTypeEnum ROLE_GROUP = new SysRoleTypeEnum ("ROLE_GROUP","角色组");
         
	
}